// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueLazyload from 'vue-lazyload'
import MetaInfo from 'vue-meta-info'

Vue.use(VueLazyload,{
  preload:1.3,
  loading:require('./assets/img/loading.gif'),
  error:require('./assets/img/close.png'),
  
})

Vue.use(MetaInfo)

Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
/*
Vue.use(VueRuter);
const routers = new VueRuter({
  history:true,
  saveScrollPosition:true
});
var Foo =  Vue.extend({
  template:'<p>this is foo!</p>'
})
var Bar =  Vue.extend({
  template:'<p>this is bar!</p>'
})
routers.map({
  '/foo':{
    component:Foo
  },
  '/bar':{
    component:Bar
  }
});

routers.start(app,"#app");
window.router = routers;
*/
